package io.chenglicun.modules.data.service;

import io.chenglicun.common.page.PageData;
import io.chenglicun.common.service.BaseService;
import io.chenglicun.modules.data.entity.DataGridVillageEntity;

import java.util.List;
import java.util.Map;

/**
 * Excel导入演示
 *
 * @author Mark sunlightcs@gmail.com
 */
public interface DataGridVillageService extends BaseService<DataGridVillageEntity> {

    public boolean excelData(List<List<Object>> list);
    public PageData<DataGridVillageEntity> page(Map<String, Object> params);

    public void update(DataGridVillageEntity dto);

    public void delete(Integer[] ids);

    public boolean excelVillage(List<List<Object>> list);

    public void save(DataGridVillageEntity entity);

    public DataGridVillageEntity queryDataGrid(String name);
}